]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Bail out on clipboard requests if there is no text.
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 10 Oct 2014 17:12:27 +0000 (19:12 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 10 Oct 2014 17:37:40 +0000 (19:37 +0200)
commiteaec459ee98e3b216a945f3198256036cfe927bb
tree12a59adc1c77f34358a6fe8000d8916c560d4c74
parent72c6f0025d659466f00e54e4a6a6315d806cb1f3
st: Bail out on clipboard requests if there is no text.

If a selection request happens through foreign means, the selected
text is NULL, and a crash happens.

https://bugzilla.gnome.org/show_bug.cgi?id=738314
src/st/st-clipboard.c